-
Home
-
WooCommerce Attribute Stock – Shared Stock & Variable Quantities (Lite Version)
-
1.7.2
-
Code
-
Classes
- AttributeStock
Total Complexity |
46 |
Dependencies |
1 |
Dependents |
21 |
Total lines |
314 |
Lines of code |
132 |
Logical lines of code |
69 |
Comment lines |
80 |
Methods |
27 |
Properties |
2 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
formatted_quantity() |
S |
55 |
5 |
17 |
low_stock() |
S |
61 |
4 |
12 |
duplicate() |
S |
60 |
3 |
12 |
set_low_stock() |
S |
67 |
3 |
8 |
exclude_products() |
S |
75 |
2 |
4 |
quantity() |
S |
69 |
2 |
7 |
set_quantity() |
S |
71 |
2 |
6 |
product_types() |
S |
75 |
2 |
4 |
exclude_categories() |
S |
75 |
2 |
4 |
categories() |
S |
75 |
2 |
4 |
set_enabled() |
S |
79 |
2 |
3 |
products() |
S |
75 |
2 |
4 |
set_product_types() |
S |
80 |
1 |
3 |
set_exclude_categories() |
S |
79 |
1 |
3 |
set_categories() |
S |
79 |
1 |
3 |
set_exclude_products() |
S |
79 |
1 |
3 |
enabled() |
S |
80 |
1 |
3 |
set_products() |
S |
79 |
1 |
3 |
set_match_all() |
S |
79 |
1 |
3 |
set_limit_products() |
S |
79 |
1 |
3 |
limit_products() |
S |
80 |
1 |
3 |
set_notes() |
S |
79 |
1 |
3 |
notes() |
S |
80 |
1 |
3 |
adjust_quantity() |
S |
72 |
1 |
5 |
set_sku() |
S |
80 |
1 |
3 |
sku() |
S |
80 |
1 |
3 |
match_all() |
S |
80 |
1 |
3 |